package cn.dy.sbo.model;

import cn.common.lib.springside.entity.AutoIdEntity;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Partner  extends AutoIdEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String cardCode;
	private String cardName;
	private String CardType;
	private String GroupCode;
	private String CmpPrivate;
	private String Address;
	private String ZipCode;
	private String MailAddres;
	private String Phone1;
	private String Fax;
	private String CntctPrsn;    
	private String Cellular;    
	private String City;
	private String Country;
	private String MailCity;
	private String E_Mail;
	private Date CreateDate;
	private Date UpdateDate;     
	private String UserSign;     
	private String State1;      
	private String ShipToDef;     
	private String BillToDef;    
	private String IntrntSite;
	private String LangCode;



    @Column(length=20)
	public String getCardCode() {
		return cardCode;
	}
	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}
	@Column(length=200)
	public String getCardName() {
		return cardName;
	}
	public void setCardName(String cardName) {
		this.cardName = cardName;
	}
	@Column(length=2)
	public String getCardType() {
		return CardType;
	}
	public void setCardType(String cardType) {
		CardType = cardType;
	}
	
	@Column(length=5)
	public String getGroupCode() {
		return GroupCode;
	}
	public void setGroupCode(String groupCode) {
		GroupCode = groupCode;
	}
	@Column(length=5)
	public String getCmpPrivate() {
		return CmpPrivate;
	}
	public void setCmpPrivate(String cmpPrivate) {
		CmpPrivate = cmpPrivate;
	}
	
	@Column(length=100)
	public String getAddress() {
		return Address;
	}
	public void setAddress(String address) {
		Address = address;
	}
	@Column(length=15)
	public String getZipCode() {
		return ZipCode;
	}
	
	public void setZipCode(String zipCode) {
		ZipCode = zipCode;
	}
	@Column(length=100)
	public String getMailAddres() {
		return MailAddres;
	}
	public void setMailAddres(String mailAddres) {
		MailAddres = mailAddres;
	}
	@Column(length=25)
	public String getPhone1() {
		return Phone1;
	}
	public void setPhone1(String phone1) {
		Phone1 = phone1;
	}
	@Column(length=25)
	public String getFax() {
		return Fax;
	}
	public void setFax(String fax) {
		Fax = fax;
	}
	@Column(length=25)
	public String getCntctPrsn() {
		return CntctPrsn;
	}
	public void setCntctPrsn(String cntctPrsn) {
		CntctPrsn = cntctPrsn;
	}
	
	@Column(length=25)
	public String getCellular() {
		return Cellular;
	}
	public void setCellular(String cellular) {
		Cellular = cellular;
	}
	@Column(length=25)
	public String getCity() {
		return City;
	}
	public void setCity(String city) {
		City = city;
	}
	@Column(length=25)
	public String getCountry() {
		return Country;
	}
	public void setCountry(String country) {
		Country = country;
	}
	@Column(length=25)
	public String getMailCity() {
		return MailCity;
	}
	public void setMailCity(String mailCity) {
		MailCity = mailCity;
	}
	@Column(length=100)
	public String getE_Mail() {
		return E_Mail;
	}
	public void setE_Mail(String eMail) {
		E_Mail = eMail;
	}
	public Date getCreateDate() {
		return CreateDate;
	}
	public void setCreateDate(Date createDate) {
		CreateDate = createDate;
	}
	public Date getUpdateDate() {
		return UpdateDate;
	}
	public void setUpdateDate(Date updateDate) {
		UpdateDate = updateDate;
	}
	
	@Column(length=25)
	public String getUserSign() {
		return UserSign;
	}
	public void setUserSign(String userSign) {
		UserSign = userSign;
	}
	@Column(length=25)
	public String getState1() {
		return State1;
	}
	public void setState1(String state1) {
		State1 = state1;
	}
	@Column(length=200)
	public String getShipToDef() {
		return ShipToDef;
	}
	public void setShipToDef(String shipToDef) {
		ShipToDef = shipToDef;
	}
	@Column(length=200)
	public String getBillToDef() {
		return BillToDef;
	}
	public void setBillToDef(String billToDef) {
		BillToDef = billToDef;
	}
	@Column(length=100)
	public String getIntrntSite() {
		return IntrntSite;
	}
	public void setIntrntSite(String intrntSite) {
		IntrntSite = intrntSite;
	}
	@Column(length=5)
	public String getLangCode() {
		return LangCode;
	}
	public void setLangCode(String langCode) {
		LangCode = langCode;
	}
	
}
